package com.dkh.recommend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dkh.recommend.entity.TbFollow;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbFollowMapper  extends BaseMapper<TbFollow> {

//    根据用户id查找用户关注队列
    public List<Long> selectFollowUserId(Long user_id);

//    根据用户id查找用户最近关注的用户
    public Long getLastFollowByUserId(Long user_id);
}
